<template>
  <div class="serchBox">
    <div class="text">
      <img src="../../assets/img/icc.png" alt srcset />
    </div>
    <div class="search-module" @click="serach()">
      <van-search disabled placeholder="请输入搜索关键词"></van-search>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import icc from "../../assets/img/icc.png";
export default {
    data() {
        return {};
    },
    methods: {
        serach() {
            let query = this.$route.query;
            this.$router.push({ path: "search", query: query });
        }
    }
};
</script>

<style scoped lang="less">
.serchBox {
    height: 1rem;
    display: flex;
    background: #ffffff;
    align-items: center;
    padding: 0.1rem 0.3rem;
    box-sizing: border-box;
    .text {
        width: 0.78rem;
        height: 0.44rem;
        margin-right: 0.3rem;
    }
}
.search-module {
    // height: 0.56rem;
  width: 100%;
    flex: 1;
    display: flex;
    align-items: center;

    .van-search{
      padding: 0;
     
    }
    .van-cell, .van-search {
        flex: 1;
        // padding: 0;
         
        font-size: 12px;
        display: flex;
        align-items: center;
    }
}
</style>
